-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
commands: Replace all characters in selection, make r<ENTER>
work
#167
Conversation
I pushed some changes, previously |
c67f809
to
b90ef9c
Compare
I never had to replace across lines so I don't have hard opinion on this. |
To be honest, my main use for Replacing a newline could be useful to change it for a space (or something else) effectively giving us a join operation, but we already have a TL;DR: I'm rather in favor of ignoring the newlines. By the way, (neo)vim also ignores newlines. Worst case, we can change the behavior again later. |
That is also what made me add this changes, I noticed that when I select a whole line and replace it with something the newline character also gets replaced and the next line is appended to the previously selected line. |
r<ENTER>
work
Closes: #161
Closes: #164